<%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_zone"), new_object_url, :icon => 'add' %></p>
    </li>
  </ul>
  <br class='clear' />
</div>


<h1><%= t("zones") %></h1>
<table class="index">
  <thead>
    <tr>
      <th><%= order_by_link :name, :text => t("name") %></th>
      <th><%= order_by_link :description, :text => t("description") %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @collection.each do |zone| %>
      <tr>
        <td><%=zone.name %></td>
        <td><%=zone.description %></td>
        <td class="actions">
          <%=link_to_edit zone %> &nbsp; 
          <%=link_to_delete zone %>
        </td>
      </tr>
    <% end %>
    <% if @collection.empty? %>
      <tr><td colspan="2">None.</td></tr>
    <% end %>
  </tbody>
</table>

<%= page_links(:prev => "&#171; #{t('previous')}", :next => "#{t('next')} &#187;") if @search.page_count > 1 %>

